Method for operating a processor bus

ABSTRACT

A method of operating a processor bus, with which a central unit (processor) makes accesses to various peripheral units, is described. The processor bus has the ability to change the order of the accesses as a function of the operating state of the peripheral units, and the peripheral units can either reject or delay the access.

CROSS-REFERENCE TO RELATED APPLICATION

[0001] This application is a continuation of copending International Application No. PCT/DE00/03273, filed Sep. 20, 2000, which designated the United States.

BACKGROUND OF THE INVENTION

[0002] Field of the Invention:

[0003] The present invention relates to a method of operating a processor bus, with which a central unit (processor) can make access to various peripheral units.

[0004] In the processor systems according to the prior art, it is normal for the processor itself, that is to say the central computing unit (CPU), to be connected to the peripheral devices (peripheral units) via a bus, as it is known, that is to say a common data line. The peripheral devices can be memories of every type, coprocessors, data input and output devices. The speed with which the peripheral devices can react to data requests from the central unit of course depends to a quite different extent on the type of the respective devices.

[0005] According to the prior art, an access by the processor to a peripheral device via the bus blocks the processor until the access is completed. As a result, the processor operating time, that is to say the computing power, is unnecessarily lost.

SUMMARY OF THE INVENTION

[0006] It is accordingly an object of the invention to provide a method for operating a processor bus that overcomes the above-mentioned disadvantages of the prior art devices of this general type, in which access time losses are reduced or avoided.

[0007] With the foregoing and other objects in view there is provided, in accordance with the invention, a method of operating a processor bus with which a central unit requests accesses to various peripheral units. The method includes changing an ordering of the accesses in dependence on an operating state of the peripheral units.

[0008] According to the invention, in the method of operating the processor bus, with which a central unit (processor) makes access to various peripheral units, the object is achieved by its being possible for the order of the accesses to be changed as a function of the operating state of the peripheral units.

[0009] The peripheral units in this case preferably signal their operating state to the central unit via the processor bus. The simplest method sequence results when the operating state message from a peripheral unit follows an access attempt by the central unit to the peripheral unit.

[0010] In this case, it is particularly preferred for the central unit to repeat the access attempts in each case at specific time intervals, until the peripheral unit is ready.

[0011] The central unit can preferably use the bus for other data traffic in the time periods between the access attempts.

[0012] In addition, it may be advantageous if the peripheral units have various feedback messages available, specifically rejection or delay of the access. In the case of the delay, the access attempt can then be repeated, in the case of a rejection the processor can process other tasks in between.

[0013] The present invention is based on the fact that the access of the central unit, for example the processor, via a processor bus to various peripheral units, such as memories, coprocessors, data input and output devices, is prioritized or delayed by signaling the state of the peripheral units. In this case, the various peripheral units can either reject or delay accesses.

[0014] The central unit, that is to say the processor, can prioritize and/or delay its accesses by this information and can therefore achieve better bus utilization and overall performance, since waiting times for the peripheral units are minimized.

[0015] Other features which are considered as characteristic for the invention are set forth in the appended claims.

[0016] Although the invention is illustrated and described herein as embodied in a method for operating a processor bus, it is nevertheless not intended to be limited to the details shown, since various modifications and structural changes may be made therein without departing from the spirit of the invention and within the scope and range of equivalents of the claims.

[0017] The construction and method of operation of the invention, however, together with additional objects and advantages thereof will be best understood from the following description of specific embodiments when read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The single FIGURE of the drawing is a block diagram of a processor bus and related components according to the invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Referring now to the single FIGURE of the drawing, there is shown a processor bus 14, 20, 22 and related components that will be used to explain two exemplary embodiments of the invention.

[0020] A central processing unit (CPU) 12 is operated with peripheral units 16, 18, such as memories 16. Some of the peripheral units 16, 18 may cause delays during an access process, since their access time does not permit access to be made to them at the highest bus speed. In such a case, during an access that it cannot satisfy at a bus clock speed, according to the invention the memory 16 sets a signal, so that the access is repeated until the memory 16, has provided the data. In this case, it is therefore not necessary to reduce the operating speed of the CPU 12 to the speed of the memory 16, or to have the CPU 12 wait for the memory 16. Such an adaptation of the CPU 12 to the speed of the memory 16, required in accordance with the prior art, is avoided by the invention. The peripheral devices 16, 18 are connected to the CPU 12 by the bus or signals lines 14, 20 and 22.

[0021] Alternatively, the CPU 12 can be operated with a coprocessor 18, for example with a mathematical or a graphic coprocessor 18, which needs some computing time and is therefore not always ready to receive information. If the coprocessor 18 signals that it is not ready to receive (the access is therefore rejected), then the CPU 12 can bring forward other accesses to the processor bus 14, 20, 22 and delay the access. 

We claim:
 1. A method of operating a processor bus with which a central unit requests accesses to various peripheral units, which comprises the step of: changing an ordering of the accesses in dependence on an operating state of the peripheral units.
 2. The method according to claim 1, which comprises reporting the operating state of the peripheral units to the central unit over the processor bus.
 3. The method according to claim 2, which comprises reporting the operating state of a respective peripheral unit after an access attempt by the central unit to the respective peripheral unit.
 4. The method according to claim 3, which comprises repeating the access attempt, by the central unit, in each case at specific intervals, until the respective peripheral unit is ready.
 5. The method according to claim 4, which comprises using the processor bus and the central unit for other data traffic in time periods between the access attempts.
 6. The method according to claim 1, wherein the peripheral units can one of reject and delay a respective access. 